package org.wlc.demov1Impl.cuisine;

import org.wlc.demov1Impl.cook.ICook;

/**
 * @author 王立朝
 * @date 2022/5/16
 * @description: 山东菜的实现类
 */
public class ShanDongCuisine implements ICuisine{
    private ICook cook;

    public ShanDongCuisine(ICook cook) {
        this.cook = cook;
    }

    /**
     * 烹饪，制作
     */
    @Override
    public void cook() {
        cook.doCooking();
    }
}
